package com.nubia.service;

import com.nubia.entity.Shops;

import java.util.List;

public interface ShopsService {
    List<Shops> findAllShops();

    /**
     * 添加商品
     * @param shops
     * @return
     */
    int addShop(Shops shops);

    Shops ByIdGetShop(String shop_id);



    //添加购物车
    int addCart(Shops shops);

    // 根据userid显示购物
    List<Shops> ShowCart(String user_id);

    //添加商品
     int insShop(Shops shops);
}
